package com.lmk.homework;

import java.util.Scanner;
 // 输入三个数 从小到大排列
public class work04 {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        System.out.print("a=");
        int a = sc.nextInt();

        System.out.print("b=");
        int b = sc.nextInt();

        System.out.print("c=");
        int c = sc.nextInt();

        if (a > b) {
            if (c > a) {
                System.out.println(b + "," + a + "," + c);
            } else if (c < b) {
                System.out.println(c + "," + b + "," + a);
            } else {
                System.out.println(b+","+c+","+a);
            }


            // a<<b时
        }else {
            if(c<a){
                System.out.println(c+","+a+","+b);
            }else if(c>b){
                System.out.println(a+","+b+","+c);
            }else{
                System.out.println(a+","+c+","+b);
            }
        }
    }

}
